<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/amazeui.min.css" />
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/hy.admin.css" />
	</head>

	<body>
	 {include file='../Common/hy_header.html'}
	
		<div class="am-g">
		
			
			<br>
			<div class="am-u-md-8 am-u-end">
				<form class="am-form am-form-horizontal hy-js-form">
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">渠道源</label>
						<div class="am-u-sm-9">
							<input type="text" name="name" value="{$code['name']}" >
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">邀请码</label>
						<div class="am-u-sm-9">
							<input type="text" name="codes" value="{$code['codes']}" >
						</div>
					</div>
					
					
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">减免金额</label>
						<div class="am-u-sm-9">
							<input type="text" name="money" value="{$code['money']}" placeholder="请输入正整数"   >
						</div>
					</div>

					

					
					<div class="am-form-group">
						<div class="am-u-sm-9 am-u-sm-push-3">
							<button type="button" class="am-btn am-btn-primary hy-js-submit">{$_L.SAVE}</button>
						</div>
					</div>
				</form>
			</div>
		</div>
		{include file='../Common/hy_footer.html'}
		<script type="text/javascript">
		
			
			
			hy_submit('index.php?g=admin&m=suipai&a=editCode',{},function(result){
				showMsg(result.content, result.error);
	    		
				});
		</script>
	</body>

</html>